<?php


namespace common\service;


use common\traits\ServiceTrait;

class BaseService
{

    use ServiceTrait;

    public function __construct($model = [])
    {
        $this->setModel($model);
    }

    public function setModel($model)
    {
        if (!empty($model)) {
            $this->model = $model;
        }
    }

}